//
//  YQNewWalletAddressCell.m
//  NewRetail
//
//  Created by yuqin on 2019/6/23.
//  Copyright © 2019年 yuqin. All rights reserved.
//

#import "YQNewWalletAddressCell.h"

@implementation YQNewWalletAddressCell

- (void)setupTableViewCellView {
    //e2e3e5
    self.backgroundColor = UIColorFromRGB(0xe2e3e5);
    self.layer.cornerRadius = 3;
    self.layer.masksToBounds = YES;
    [self addSubview:self.addressTF];
    [self.addressTF mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(FIT(16));
        make.centerY.mas_equalTo(self.mas_centerY);
        make.size.mas_equalTo(CGSizeMake(self.frame.size.width-FIT(32), FIT(21)));
    }];
}

- (UITextField *)addressTF {
    if (!_addressTF) {
        _addressTF = [YQViewFactory textFieldWithPlaceholderText:@"" textColor:[UIColor grayColor] fontSize:FIT(13) userBold:NO];
        
    }
    return _addressTF;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
